/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Server;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;

/**
 *
 * @author Rente
 */
@WebService()
public class TesteServer {

    /**
     * Web service operation
     */
    @WebMethod(operationName = "operation")
    public String operation(@WebParam(name = "str")  String str) {
        //TODO write your implementation code here:
        return "recebi do cliente " + str;
    }

    /**
     * Web service operation
     */
    @WebMethod(operationName = "p")
    public int p(@WebParam(name = "parameter")
    int parameter) {
        //TODO write your implementation code here:
        return 0;
    }

}
